package com.zb.Service;

import java.util.List;

import com.zb.entity.Task;

public interface TaskService{

	public List<Task> findTask(int index,int size,String min,String max,int tasktype ,int senduser);
	
	public int count();
	
	public Task getTaskById(int id);
	
	public int updateTask(Task task);
	
	//添加记录
	public int savecaroTask(Task task);
	
	public List<Task> getDeskList(int uid);
	
	//添加需要审批的信息
	public void saveTask(int userid, int typeid, int contentid, int roleid);
	
	public void updateTasktwo(Integer id,String ideal,Integer result);
}